package com.study.base.service

import android.app.Activity
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager


/**
 * <pre>
 *     author : fauks
 *     time   : 2020/03/23
 *     desc   :
 * </pre>
 */
interface IAccountService {
    /**
     * 是否已经登录
     */
    fun isLogin(): Boolean

    /**
     * 获取用户Id
     */
    fun userId(name: String): String

    fun newLoginFragment(activity: Activity?, containerId: Int, manager: FragmentManager?, bundle: Bundle?, tag: String?): Fragment?
}